beginner single responsibility principle